package com.example.principle.srp;

public class UserInfo {
    // basic
    private long userId;
    private String username;
    private String email;
    private String telephone;

    // address
    private String province;
    private String city;
    private String region;
    private String detailAddress;

    // methods ....

    // srp原则来看: 看场景
    //  1,社交场景 （address only to view ）   2,电商场景 (address bus logic) ---> 3, app,统一账号

    // 类的职责是否设计的越单一越好呢 ?
}
